Skip to content

fix(code): don't include timestamp overlay when copying user messages#1941

Merged
VojtechBartos merged 1 commit intomainfrom
posthog-code/investigate-message-date-time-copy-issue
Apr 29, 2026
Merged

fix(code): don't include timestamp overlay when copying user messages#1941
VojtechBartos merged 1 commit intomainfrom
posthog-code/investigate-message-date-time-copy-issue

Conversation

@VojtechBartos
Copy link
Copy Markdown
Member

@VojtechBartos VojtechBartos commented Apr 29, 2026

Selecting a one-line user message used to drag the hover timestamp into the copy. Marking the overlay select-none keeps copies clean; the copy button still works.

Fixes feedback from this Slack thread.


Created with PostHog Code

Selecting a one-line user message and copying it pulled in the hover
timestamp text. Marking the overlay non-selectable keeps copies clean
without affecting the copy button click handler.

Generated-By: PostHog Code
Task-Id: a49fe873-8e2a-4fea-8db6-725ab0c4498b
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 29, 2026

Reviews (1): Last reviewed commit: "fix(code): exclude user message timestam..." | Re-trigger Greptile

@VojtechBartos VojtechBartos self-assigned this Apr 29, 2026
@VojtechBartos VojtechBartos requested a review from a team April 29, 2026 14:10
@VojtechBartos VojtechBartos enabled auto-merge (squash) April 29, 2026 14:12
@VojtechBartos VojtechBartos merged commit 12e5eef into main Apr 29, 2026
15 checks passed
@VojtechBartos VojtechBartos deleted the posthog-code/investigate-message-date-time-copy-issue branch April 29, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants